package com.lijinjiang.annotation03;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName Book
 * @Description TODO
 * @Author Li
 * @Date 2022/9/21 11:00
 * @ModifyDate 2022/9/21 11:00
 * @Version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Book {
    String value();

    double price() default 100;

    String[] authors();
}
